package com.wangbo.multi.controller;

import com.wangbo.multi.service.CameraService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author waves
 * @since 2021-07-13
 */
@RestController
public class CameraController {

    @Resource
    private CameraService cameraService;

    @GetMapping("/camera/{cid}")
    public String getDetail(@PathVariable Long cid) {
        return String.valueOf(cid);
    }
}

